package entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 家庭收支表(Hiae)表实体类
 *
 * @author makejava
 * @since 2022-03-31 17:04:09
 */
@SuppressWarnings("serial")
public class Hiae extends Model<Hiae> {
    //主键id
    @ApiModelProperty(value="id")
    private Long id;
    //用户id
    private Long userId;
    //姓名
    private String name;
    //s:收入 z 支出
    private String type;
    //创建时间
    private Date createDate;
    //修改时间
    private Date updateDate;
    //收入/支出时间
    private Date hiaeDate;
    //收入/支出 明细
    private String describes;
    //金额
    private Double remarks;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getHiaeDate() {
        return hiaeDate;
    }

    public void setHiaeDate(Date hiaeDate) {
        this.hiaeDate = hiaeDate;
    }

    public String getDescribes() {
        return describes;
    }

    public void setDescribes(String describes) {
        this.describes = describes;
    }

    public Double getRemarks() {
        return remarks;
    }

    public void setRemarks(Double remarks) {
        this.remarks = remarks;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
    }

